﻿@model IEnumerable<JewererBasic.EMPLOYEE>

@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table class="table head">
    <tr>
        <th>
            Worker Id
        </th>
        <th>
            Name
        </th>
        <th>
            Part
        </th>
        <th>
            Phone
        </th>
        <th>
            Idenfify Number
        </th>       
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.Staff_Id)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Name)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Address)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Phone)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.IdentifyCardNumber)
        </td>        
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.Id })
            @*@Html.ActionLink("Details", "Details", new { id=item.Id })*@
            @*@Html.ActionLink("Delete", "Delete", new { id=item.Id })*@
        </td>
    </tr>
}

</table>
